Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding friendlier exception if no S3 config provided #853

Closed
wants to merge 2 commits into from

Conversation

exotikh3
Copy link

@exotikh3 exotikh3 commented Dec 7, 2021

Adding code that tries to resolve this issue #683

Looking forward for any kind of feedback as this is my first contribution to Metaflow

raise MetaflowS3URLException(
"No config or correct S3 root path provided when trying to use S3 storage"
)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why only check this inside the if run.. if not prefix.. ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is only used in the if run portion so IMHO, it could be checked there. I would also check it in get_root_from_config (used for IncludeFile).

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@exotikh3 Can you address this comment so that we can proceed with the merge?

@exotikh3 exotikh3 requested a review from oavdeev December 8, 2021 16:29
@exotikh3
Copy link
Author

@romain-intel please review latest changes

@roofurmston
Copy link

I recently stumbled across this issue, so it seems like it still requires a fix.

Given the PR is now pretty old (over 18 months) is there any objection to me starting a new one? @savingoyal That is ok with you?

@saikonen saikonen added the stale Possibly a stale PR, waiting for author response. label Aug 24, 2023
@saikonen
Copy link
Collaborator

closing as this got superseded by another PR which has been merged.

@saikonen saikonen closed this Aug 30, 2023
@saikonen saikonen removed the stale Possibly a stale PR, waiting for author response. label Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants